package com.tcm.service;

import com.tcm.entity.CommentLike;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Guqier
* @description 针对表【ts_comment_like(评论点赞表)】的数据库操作Service
* @createDate 2023-09-09 21:18:17
*/
public interface CommentLikeService extends IService<CommentLike> {

    boolean isLike(Long commentId, String account);

    Integer getLikeNum(Long commentId);

    boolean addCommentLike(Long commentId, Long currUserId);

    boolean removeCommentLike(Long commentId, Long currUserId);
}
